/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.rum.sender;

import cz.muni.fi.rum.sender.command.Factory.CommandFactory;
import cz.muni.fi.rum.sender.command.Factory.CommandFactoryImpl;
import cz.muni.fi.rum.sender.command.history.CommandHistoryManager;
import cz.muni.fi.rum.sender.command.history.CommandHistoryManagerImpl;
import cz.muni.fi.rum.sender.senders.SenderFactory;
import cz.muni.fi.rum.sender.senders.SenderFactoryImpl;

/**
 *
 * @author pmikulasek
 */
public class Factory {

    public static SenderManager getSenderManager() {
        return SenderManagerImpl.getInstance();
    }

    public static CommandHistoryManager getHistoryManager() {
        return CommandHistoryManagerImpl.getHistoryManager();
    }

    public static CommandFactory getCommandFactory() {
        return CommandFactoryImpl.getInstance();
    }

    public static SenderFactory getSenderFactory() {
        return SenderFactoryImpl.getInstance();
    }
}
